The phrase "to dock the tail" means to cut off or remove a part of the tail of an animal, usually done for various reasons like tradition, safety, or aesthetics.